@layout("/common/_container.html"){
<div class="margin-15" id="addRolePage">
    <form class="layui-form layui-form-pane" lay-filter="roleAddForm">
        <div class="layui-form-item">
            <label class="layui-form-label">角色代码</label>
            <div class="layui-input-block">
                <input type="text" name="roleCode" lay-verify="required|roleCode" autocomplete="off" class="layui-input" />
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">角色名称</label>
            <div class="layui-input-block">
                <input type="text" name="roleName" lay-verify="required|roleName" autocomplete="off" class="layui-input"/>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">角色描述</label>
            <div class="layui-input-block">
                <input type="text" name="roleDescription" autocomplete="off" class="layui-input"/>
            </div>
        </div>

        <div class="layui-form-item">
            <div class="layui-input-block">
                <button class="layui-btn" lay-submit lay-filter="addRole">立即提交</button>
                <button type="reset" class="layui-btn layui-btn-primary">重置</button>
            </div>
        </div>
    </form>
</div>

<script src="${ctxPath}/static/scripts/system/role.js"></script>
@}
